package userService

import (
	"wowCoupon.com/models"
)

type User struct {
	ID       int64
	UserId   string
	Username string
	Password string
	Status   int64
	Role     int64
}

//GetByID gets a coupon meta by id from DB. ToB
func (u *User) VerifyCredentialInfo() bool {
	return models.VerifyCredentialInfo(u.Username, u.Password)
}
